-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pyo3 bindings for uap-python #3
Merged
Merged
+945
−7
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
masklinn
added a commit
to masklinn/uap-python
that referenced
this pull request
Jul 15, 2024
masklinn
added a commit
to masklinn/uap-python
that referenced
this pull request
Jul 15, 2024
Uses ua-parser/uap-rust#3 Fixes ua-parser#166
masklinn
force-pushed
the
pyo3-bindings
branch
24 times, most recently
from
October 5, 2024 09:30
98399a2
to
45efc61
Compare
masklinn
force-pushed
the
pyo3-bindings
branch
2 times, most recently
from
October 5, 2024 13:24
e97168a
to
014173a
Compare
masklinn
force-pushed
the
pyo3-bindings
branch
20 times, most recently
from
October 5, 2024 19:10
9f0762a
to
9bb89c1
Compare
Advantages ========== - Can do the entire loading in one shot in pure rust from a python iterable. - Work using rust semantics. - Really just works. - Only requires a pyi for type declarations (?). Drawbacks ========= - Likely slower than cffi for pypy, but unlikely to be slower than the slog of pure python. - Graal don't work in tox (oracle/graalpython#427).
masklinn
force-pushed
the
pyo3-bindings
branch
from
October 5, 2024 19:33
9bb89c1
to
9d7e95a
Compare
masklinn
added a commit
to masklinn/uap-python
that referenced
this pull request
Oct 8, 2024
Uses ua-parser/uap-rust#3 Fixes ua-parser#166
masklinn
added a commit
to masklinn/uap-python
that referenced
this pull request
Oct 8, 2024
Uses ua-parser/uap-rust#3 Fixes ua-parser#166
masklinn
added a commit
to masklinn/uap-python
that referenced
this pull request
Oct 8, 2024
Uses ua-parser/uap-rust#3 Fixes ua-parser#166
masklinn
added a commit
to ua-parser/uap-python
that referenced
this pull request
Oct 8, 2024
Uses ua-parser/uap-rust#3 Fixes #166
masklinn
added a commit
to masklinn/uap-python
that referenced
this pull request
Oct 13, 2024
Uses ua-parser/uap-rust#3 - add an optional dependency on `ua-parser-rs` under the `regex` key - add a regex-based parser misc: - update the classifiers - bump required-python to 3.9 (3.8 is basically EOL) - update CI to better split up the steps - fix up the check for binary pyyaml: requirements_dev was removed in 81da21a, in May 2023, so this hasn't been working for 18 months - fix CLI script to correctly handle optional modules so it can run on pypy and graal, add regex, make tracemalloc optional as pypy doesn't support it (didn't check graal) - update tox: remove cpython 3.8, pypy 3.8 and 3.9 from tox (3.8's last supporting release was 7.3.11 in May 2023, 3.9's was 7.3.16 in April 2024), add graal Fixes ua-parser#166
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
TODO
add Sequoia (macos 15)moved everything to 13 insteadcheck why maturin-action creates a job for 12 / AMD64 but 14/ARM64...
turns out this is because the macOS 14 runners are ARM64 machines, while 12/13 are AMD64, so the jobs were switched over to avoid cross compilation (Use macOS M1 runner in generated GitHub Actions configuration PyO3/maturin#1952), it's not clear whether this is just an efficiency thing or if cross compilation caused issues
remove sdist? don't see what sense it makes...